package com.wf.dal.mapper;


import com.github.pagehelper.Page;
import com.wf.model.entity.ProcessDefinitionExt;
import com.wf.model.request.ProcessDefinitionExtJsonRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shuaidongdong
 */
public interface ProcessDefinitionExtMapper {

    int deleteByPrimaryKey(String id);

    int insert(ProcessDefinitionExt record);

    int insertSelective(ProcessDefinitionExt record);

    ProcessDefinitionExt selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ProcessDefinitionExt record);

    int updateByPrimaryKey(ProcessDefinitionExt record);

    Page<ProcessDefinitionExt> selectSelective(ProcessDefinitionExtJsonRequest jsonRequest);

    int deleteBatch(@Param("ids") String[] ids);

    ProcessDefinitionExt queryByProcessDefinitionKey(String processDefinitionKey);

    List<ProcessDefinitionExt> searchProcessDefinitionExtByBoardType(@Param("boardType") String boardType);

}